home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Games Machine 75
/
XENIATGM75.iso
/
Shareware
/
X-Setup 5.0
/
_SETUP.1
/
XQ Network Server 1.xpl
< prev
next >
Wrap
Text File
|
1999-06-12
|
2KB
|
66 lines
"FILE"="Xteq Systems X-Setup Plugin 5.0"
"TYPE"="6"
"COUNT"="2"
"UIPATH"="Network\Server"
"NAME"="Server Options"
"VERSION"="1.31"
"LANGUAGE"="VBScript"
"TEXT 1"="Hide this computer"
"TEXT 2"="Allow long share names"
"DESCRIPTION 1"="If you do not want that this computer can been seen on the network, activate the first option."
"DESCRIPTION 2"="The computer can still be reached and accessed, it's just no longer visible for other computers using the browser service."
"DESCRIPTION 3"=" "
"DESCRIPTION 4"="By default, Windows NT cannot use shares that contain more than 12 characters. By activating the second option, you can enable this."
"DESCRIPTION 5"="Please note that you need at least NT SP3 for this!!"
"AUTHOR"="Xteq Systems"
"COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
"COMMENT 1"="For more information, go to http://www.xteq.com or write to TeXHeX@gmx.net."
"COMMENT 2"="Setting #2: MS KB Q169049"
sP2="HKLM\System\CurrentControlSet\Services\Rdr\Parameters\"
sV2="AllowLongShareName"
Sub Plugin_Initialize
If GetWinVer=2 then
If RegPathExists("HKLM\System\CurrentControlSet\Services\LanmanServer") then
i=RegReadValue("HKLM\System\CurrentControlSet\Services\LanmanServer\Parameters\Hidden")
if i=1 then
Call SetUIElement(1,true)
end if
end if
i=RegReadValue(sP2 & sV2)
if i=1 then SetUiElement 2,true
else
Disable
end if
End Sub
Sub Plugin_CheckData(ElementIndex)
End Sub
Sub Plugin_Apply(ElementIndex,ElementSubIndex)
If GetUIElement(1)=true then
Call RegWriteValue("HKLM\System\CurrentControlSet\Services\LanmanServer\Parameters\Hidden",1,2)
else
Call RegWriteValue("HKLM\System\CurrentControlSet\Services\LanmanServer\Parameters\Hidden",0,2)
end if
If GetUIElement(2)=true then
Call RegWriteValue(sp2 & sv2,"1",2)
else
Call RegWriteValue(sp2 & sv2,"0",2)
end if
Restart
End Sub
Sub Plugin_Terminate
End Sub